package com.funwell.server.utils;

import com.ace.cache.constants.CacheScope;
import com.ace.cache.parser.IKeyGenerator;
import com.ace.cache.parser.IUserKeyGenerator;

public class MyCacheKeyGenerator extends IKeyGenerator {
    @Override
    public IUserKeyGenerator getUserKeyGenerator() {
        return null;
    }

    @Override
    public String buildKey(String s, CacheScope cacheScope, Class<?>[] classes, Object[] objects) {
        return "HcrmKey_"+s+"_"+objects[0];
    }
}
